Speedy
Messages
Class File Name:
SpeedText.class
Class File Size: 6K
Notice Tag: Speedy Messages, (c) 1997 OpenCube
Technologies, Registered (Unique Key ID#)
Information about the applet and its parameters
Required Parameters
Parameter 1 (the "notice" tag) must be included in the applet tag in order for the applet to work. Most of the parameters will default if you fail to define them, at a minimum you must include the notice tag and description parameters for you messages. Usually the easiest way to customize the applet is cut and paste the applet tag information used in the sample and modify it to fit your web page.
Defining Colors
To define a color in one of the color parameters using RGB choose a value between 0 - 255 for the red, green, and blue components separated by commas and typed out in the correct r,g,b order. Below is a sample of how a color parameter using RGB should look, the example specifies several different sample colors for the "bgcolor" parameter.
WHITE: <param
name="bgcolor" value="255,255,255">
GREEN: <param name="bgcolor"
value="0,255,0">
BLACK: <param name="bgcolor"
value="0,0,0">
YELLOW: <param name="bgcolor"
value="255,255,0">
OFF WHITE: <param name="bgcolor"
value="240,239,234">
The best way to choose the exact color you are looking for without having to guess the numbers is to access your systems Color Picker. Color Pickers usually allow you to drag the mouse over a rainbow type color grid to select a color, and show you the appropriate RGB values. In windows the Color Picker is accessible through MS Paint as well as a majority of the popular Imaging and HTML Authoring Software.
The Applet Parameters
The Applet
Parameter 1
Attribute: Copyright notice.
param name="Notice"
value="Speedy Messages, (c) 1997 OpenCube Technologies,
Registered (Unique Key ID#)"
Note: This must be included for the applet to work.
Parameter 2
Attribute: Background Color
param name="bgcolor"
Value=r,g,b, Where r,g,b is the color to use for the background,
see above for information on defining colors.
DEFAULT: white
The Typewriter Messages
Parameter 3
Attribute: Message
param name="desc0" - "descN"
value=X, where X is the message to be drawn onto the screen. Use
desc0 to define your first message, desc1 to define your second,
etc., etc.
Parameter 4
Attribute: Text Color
param name="textcolor"
Value=r,g,b, Where r,g,b is the color to use for all messages,
see above for information on defining colors.
DEFAULT: black
Parameter 5
Attribute: Message Font Size
param name="size"
value="X", Where X is the specific size for all
messages.
DEFAULT: 14
Parameter 6
Attribute: Message Font Name
param name="fontface"
value="X", Where X is the name of a standard Java Font
(Dialog, Helvetica, TimesRoman, Courier, Symbol)
DEFAULT: "Helvetical"
Parameter 7
Attribute: Font Style
param name="style"
value= bold, italic, bolditalic, plain
DEFAULT: plain
Parameter 8
Attribute: Center Text
param name="centertext"
Value= true or false, true = yes, center all messages. False =
no, left justify all messages to the margin defined with the
"xoffset" parameter
DEFAULT: false
Parameter 9
Attribute: Left Margin Width
param name="xoffset"
Value=X, Where X is the horizontal distance from the left side of
the applet to start the message, This parameter is valid only if
centering is turned off.
DEFAULT: 5
Parameter 10
Attribute: Bottom Margin
param name="yoffset"
Value=X, Where X is the distance from the bottom of the applet to
draw the message effect.
DEFAULT: 0
Animation Timing
Parameter 11
Attribute: Letter Effect Delays
param name="speeddelay"
Value=X, Where X is a relative length of time for the animation's
to delay. A value of 1 is twice as slow as 0, a value of 2 is
twice as slow as 1, etc.
DEFAULT: 0
Parameter 12
Attribute: Letter Animation Jump Size
param name="letterjump"
Value=X, Where X is the distance for each letter to jump when
sliding into position. Use this parameter to further time the
effect.
DEFAULT: 1
Parameter 13
Attribute: Message Delay
param name="delay"
Value=X, Where X is the length of time in milliseconds for the
message to pause once completely typed onto the screen.
DEFAULT: 2000 (2 seconds)
Parameter 14
Attribute: Scroll Delay
param name="scrolldelay"
Value=X, Where X is the length of time in milliseconds between
each scroll frame when the text is scrolling out of view
DEFAULT: 10
The Scrolling Message
Parameter 15
Attribute: Use Scrolling
param name="scrollit"
Value= true or false, True = yes, scroll message out of view,
false = no, erase messages with no transition effect
DEFAULT: true
Parameter 16
Attribute: Scroll Jump Size
param name="scrolljump"
Value= X, Where X is the distance to jump for each scroll frame.
Use this parameter in conjunction with the scrolldelay parameter
to accurately time the scroll.
DEFAULT: 2
Speedy Messages © 1996, OpenCube Technologies